import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 黎鹤舞
 * Date: 2023-11-11
 * Time: 23:14
 */
public class Test {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);

        while(scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Date date = new Date(x,y);
            System.out.println(date.getX() + date.getY());
        }

    }
}
